package com.logos.cartoon.handler;

import com.logos.cartoon.enums.AiModelEnum;
import com.logos.cartoon.req.ChatReq;
import com.logos.cartoon.service.DpService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 单选题目策略类
 *
 * @author rose
 */
@Component
public class DpHandler implements AiModelHandler {
    @Resource
    private DpService dpService;

    @Override
    public AiModelEnum getHandlerType() {
        return AiModelEnum.DEEP_SEEK;
    }

    @Override
    public String chat(ChatReq chatReq) {
        return dpService.chat(chatReq);
    }


}
